package com.ty.serivce;

import com.ty.dao.UserDao;
import com.ty.dao.UserDaoSerivceimpl;
import com.ty.dao.UserDaoimpl;

public class UserSerivceimpl implements UserSerivce {
    private UserDao userDao ;
//            = new UserDaoSerivceimpl();
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void text() {
        userDao.fang();
    }
}
